namespace Model.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class InitialData5 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.ActionInfoes", "Pid", c => c.Int(nullable: false));
            DropColumn("dbo.RoleInfoes", "Pid");
            DropColumn("dbo.RoleInfoes", "RoleType");
            DropColumn("dbo.RoleInfoes", "RolePerms");
            DropColumn("dbo.RoleInfoes", "Icon");
            DropColumn("dbo.RoleInfoes", "Url");
        }
        
        public override void Down()
        {
            AddColumn("dbo.RoleInfoes", "Url", c => c.String(maxLength: 100));
            AddColumn("dbo.RoleInfoes", "Icon", c => c.String(maxLength: 50));
            AddColumn("dbo.RoleInfoes", "RolePerms", c => c.String(maxLength: 50));
            AddColumn("dbo.RoleInfoes", "RoleType", c => c.String(maxLength: 50));
            AddColumn("dbo.RoleInfoes", "Pid", c => c.Int(nullable: false));
            DropColumn("dbo.ActionInfoes", "Pid");
        }
    }
}
